package com.zq.ssmdemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {


    @GetMapping("/hello2")
    public String hello2(){

        System.out.println("hello,,,,,,,,,,,,,,");
        return "hello,张乔啊啊";
    }

@GetMapping("/hello")
public String hello(){

    System.out.println("hello,,,,,,,,,,,,,,");
    return "hello,zhangqiao";
}




}
